<template>
  <div class="sift">
    <img :src="siftObj.pic" alt="" />
    <div>
      <p v-html="siftObj.title"></p>
      <p class="lettering">{{ siftObj.descript }}</p>
    </div>
  </div>
</template>

<script>
export default {
  props: ["siftObj"],
  data() {
    return {};
  },
  mounted() {},
  methods: {},
  components: {},
};
</script>

<style lang="scss" scoped>
.sift {
  width: 100%;
  height: 540px;
  padding: 16px;
  background-color: #fff;
  margin-left: 8px;
  img {
    width: 100%;
    height: 78%;
    border-radius: 12px;
  }
  div {
    height: 20%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
  p {
    font-size: 30px;
    margin: 10px 0;
    &:nth-child(2) {
      color: rgb(190, 184, 184);
      font-size: 26px;
    }
  }
}
</style>
